package com.freesky.biz.icbc.model;

import com.icbc.api.AbstractIcbcRequest;
import com.icbc.api.BizContent;
import com.icbc.api.internal.util.fastjson.annotation.JSONField;

public class CustEquityRequestV1 extends AbstractIcbcRequest<CustEquityResponseV1> {

    @Override
    public Class<com.freesky.biz.icbc.model.CustEquityResponseV1> getResponseClass()
    {
        return com.freesky.biz.icbc.model.CustEquityResponseV1.class;
    }

    public boolean isNeedEncrypt()
    {
        return false;
    }

    public String getMethod()
    {
        return "POST";
    }

    public Class<? extends BizContent> getBizContentClass() {
        return CustEquityRequestV1.CustEquityQueryRequestV1Biz.class;
    }

    public static class CustEquityQueryRequestV1Biz implements BizContent {

        @JSONField(name="interface_code")
        private String interfaceCode;

        @JSONField(name="coopcode")
        private String coopcode;

        @JSONField(name="mobileno")
        private String mobileNo;

        public String getInterfaceCode() {
            return interfaceCode;
        }

        public void setInterfaceCode(String interfaceCode) {
            this.interfaceCode = interfaceCode;
        }

        public String getCoopcode() {
            return coopcode;
        }

        public void setCoopcode(String coopcode) {
            this.coopcode = coopcode;
        }

        public String getMobileNo() {
            return mobileNo;
        }

        public void setMobileNo(String mobileNo) {
            this.mobileNo = mobileNo;
        }
    }
}
